import tushare as ts
from dingding.Messenger import Messenger

def get_now_jiage(code):
   df = ts.get_realtime_quotes(code)[['name','open','price','pre_close','date','time']]
   return df


df = get_now_jiage('600157')


m = Messenger(
   token="4acb6a45c1a4a3277ed7cbb8dfed5ee0b549866f91f4f2a80e08f7ed14368ea2",
   secret="hello123!"
)

r = m.send_text('1232312312')
print(r)